# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_pyname=PyDispatcher
pkgname=py3-pydispatcher
pkgver=2.0.5
pkgrel=8
pkgdesc="Loosely-coupled message passing between Python objects (signal senders and receivers)"
url="http://pydispatcher.sourceforge.net/"
arch="noarch"
license="GPL"
makedepends="python3-dev py3-setuptools"
source="https://pypi.python.org/packages/source/P/PyDispatcher/PyDispatcher-$pkgver.tar.gz"
builddir="$srcdir/PyDispatcher-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test -s tests
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="b361463f006a775e1f22cfe07520951649f76c26be35a80ca016620c8ef466129c4abeafe42f0ffdc605e7523287b1e804967f19d951089d24e052fe10d88e6f  PyDispatcher-2.0.5.tar.gz"
